 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
 <html>
<head>
    <title>{% block title %}{% endblock %}</title>
    <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}/style.css">
</head>
<body>
    <div class="main">
    <div>
    {% block profile %}
    <span style="float: left;"><b>Welcome {{ user.username }}!</b>&nbsp;</span>
    <span style="float:right;"><a href="{% url profiles.views.profile_detail %}">profile</a>&nbsp;
    <a href="{% url django.contrib.auth.views.logout %}">logout</a>
    </span>
    {% endblock %}
    </div>
    <div class="nav" style="clear: both;">
    {% block nav %}
        <a class="menu" href="{% url hosts.views.list_hosts %}" >Hosts</a>&nbsp;
        <a class="menu" href="{% url databases.views.list_databases %}" >Databases</a>
    {% endblock %}
    </div>
    <div>
    {% block list %}{% endblock %}
    </div>
    <div>
    {% block actions %}{% endblock %}
    </div>
    </div>
</body>
</html>
